package com.woniuxy.caradmin.mapper;

import com.woniuxy.caradmin.entity.pojo.Insurerecord;
import com.woniuxy.caradmin.entity.pojo.Maintainrecord;
import com.woniuxy.caradmin.entity.pojo.Remind;
import com.woniuxy.caradmin.entity.pojo.Yearcheckrecord;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface RemindMapper {
    //查询年检到期时间-夏凯
    public List<Yearcheckrecord> selectYearcheckrecordExpietime();
    //查询保养到期时间-夏凯
    public List<Maintainrecord> selectMaintainrecordExpietime();
    //查询保险到期时间-夏凯
    public List<Insurerecord> selectInsurerecordExpietime();
    //增加到期提醒记录
    public int addRemind(Remind remind);
    //查询所有到期记录
    public List<Remind> selectAllRemind();
    //根据车牌号和提醒类别查询到期记录
    public Remind selectRemind(Remind remind);
    //到期提醒分页
    public List<Remind> selectRemindByPage(Remind remind);
    //删除提醒记录，从数据库表中真实删除
    public int deleteRemind(Remind remind);
    //更新提醒记录
    public int updateRemind(Remind remind);
}
